package com.ahnchan.ContactsPlus;

/**
 * to show detail contact (long click in contact tab)
 * 
 * @author Ahnchan
 *
 */
public class ContactDetail {

	public static final int TYPE_MOBILE = 2;
	public static final int TYPE_HOME = 1;
	public static final int TYPE_FAX = 5;
	public static final int TYPE_EMAIL = 900;	// EMail is more than 900. 
	
	private int mType;
	private String mData;
	
	
	public int getType() {
		return mType;
	}
	
	public String getData() {
		return mData;
	}
	
	public String getTypeName() {
		String strResult = ""+mType;
		
		return strResult; 
	}
	
	public ContactDetail(int type, String data) {
		mType = type;
		mData = data;
	}
}
